Tag | Explanation | Mode |
---|---|---|
<!--comment--> | Includes a comment in the HTML source. Any text or tags within the comment are ignored by the browser. | Strict |
<!--comment-- [--comment--] > | The correct format of a HTML comment construct:
<!--This is a comment-- -->this<- is another comment-- >But this is not: <!--This is a comment---->(The second comment was started but never ended). | Strict |
<!--comment-> | An incorrect comment format, unfortunately used on many pages. The comment is terminated by the first -> found. AWeb recognizes this comment format only in compatible mode. | Compatible |
Tag | Explanation | Mode | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
<A> ... </A> | Hyperlink anchor, specifies either a link to another location, or a named location within a page. | Strict | ||||||||||
Attribute | Explanation | Mode | ||||||||||
COORDS="nn,nn,nn,..." | Can only appear within a OBJECT element Lists the coordinates that describe the hot area of the object. The number of coordinates depends on the shape:
| Strict | ||||||||||
HREF="url" | Specifies a destination for the hyperlink. "url" can be one of the following:
| Strict | ||||||||||
NAME="name" | Defines a name in this page. You can point directly to this name using an
anchor with HREF="url#name"
| Strict | ||||||||||
SHAPE=RECT SHAPE=CIRC SHAPE=POLY SHAPE=DEFAULT | Can only appear within a OBJECT element Specifies the shape of the hot area of the object. Instead of the 4-letter abbreviations, the full words may be used (RECTANGLE, CIRCLE, POLYGON). DEFAULT becomes active if no other area was selected. | Strict | ||||||||||
TARGET="name" | The name of the frame where to display the document linked to.
If the name does not exist, a new window will be opened.
The following magic names, beginning with an underscore character, are recognized:
| Strict | ||||||||||
TITLE="title" | Defines the title to show when the mouse is over the hyperlink. By default the URL of the destination is shown. | Strict | ||||||||||
ONCLICK="script" ONMOUSEOUT="script" ONMOUSEOVER="script" | Standard JavaScript event handlers. | Strict | ||||||||||
METHOD=GET METHOD=POST | This attribute is an experimental addition to AWeb and is not supported
by other browsers. Specifies with what HTTP method the link should be accessed. If METHOD=POST is specified and the URL contains a query part, that data is sent as the request message body. | Tolerant (AWeb) |
Tag | Explanation | Mode |
---|---|---|
<ADDRESS> ... </ADDRESS> | Specifies a (mail) address. Typically rendered in italics. | Strict |
Tag | Explanation | Mode | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
<AREA> | Can only appear within a MAP element Specifies a hot area with a client-side image map. | Strict | ||||||||||
Attribute | Explanation | Mode | ||||||||||
COORDS="nn,nn,nn,..." | Lists the coordinates that describe this area. The number of coordinates
depends on the shape:
| Strict | ||||||||||
HREF="url" | Specifies the URL that this area of the map links to. | Strict | ||||||||||
NOHREF | Specifies that this area does not link to an URL. | Strict | ||||||||||
ONMOUSEOUT="script" ONMOUSEOVER="script" | Standard JavaScript event handlers. | Strict | ||||||||||
SHAPE=RECT SHAPE=CIRC SHAPE=POLY SHAPE=DEFAULT | Specifies the shape of the hot area. Instead of the 4-letter abbreviations,
the full words may be used (RECTANGLE, CIRCLE, POLYGON). DEFAULT becomes active if no other area was selected. | Strict | ||||||||||
TARGET="name" | The name of the frame where to display the
document linked to. If the name does not exist, a new window will be opened.
See A for a list of magic target names. | Strict |
Tag | Explanation | Mode |
---|---|---|
<B> ... </B> | Renders text in bold. Usually it is better to use one of the logical styles (like STRONG) instead of phisycal styles like B. | Strict |
Tag | Explanation | Mode |
---|---|---|
<BASE> | Can only appear within a HEAD element Defines the base URL for this page. The base URL is the address to use when resolving relative URL references (partial URLs). By default the base URL is the page's address. | Strict |
Attribute | Explanation | Mode |
HREF="url" | Specifies the URL to use as the base | Strict |
TARGET="name" | The name of the frame where to display documents linked to by A hyperlink anchors. See A for details. | Strict |
Tag | Explanation | Mode |
---|---|---|
<BASEFONT> | Sets the size normal text is rendered in, and that relative FONT sizes refer to. | Strict |
Attribute | Explanation | Mode |
COLOR=#rrggbb COLOR=colourname | Specifies the colour to render the text in. See colour specifications for a list of valid names. | Strict |
SIZE=nn SIZE=+nn SIZE=-nn | Specifies the font size. If nn is given, it is an absolute size. Valid sizes are 1 to 7, 1 being the smallest and 7 the largest. If +nn or -nn is given, it is a change relative to the current BASEFONT size. Valid range is -6 to +6, but the resulting font size will be adjusted to fall within the range 1 to 7. | Strict |
Tag | Explanation | Mode |
---|---|---|
<BGSOUND> | Defines a sound to play when this page is displayed. | Tolerant (MS) |
Attribute | Explanation | Mode |
SRC="url" | Specifies the URL where the sound can be found. | Tolerant (MS) |
LOOP=n LOOP=INFINITE | The number of times the sound should be played. If the number is negative, or if "INFINITE" is given, the sound will be repeated forever while the page is being displayed. | Tolerant (MS) |
Tag | Explanation | Mode |
---|---|---|
<BIG> ... </BIG> | Renders text in a large font. | Strict |
Tag | Explanation | Mode |
---|---|---|
<BLINK> ... </BLINK> | Specifies blinking text. | Tolerant (NS) |
Tag | Explanation | Mode |
---|---|---|
<BQ> ... </BQ> <BLOCKQUOTE> ... </BLOCKQUOTE> | Specifies a text as long quotation. Typically rendered in italics. | Strict |
Tag | Explanation | Mode |
---|---|---|
<BODY> ... </BODY> | Specifies the body if an HTML document. Each HTML document must have exactly
1 body or FRAMESET element.
Both the start and end tags are optional. | Strict |
Attribute | Explanation | Mode |
BACKGROUND="url" | Specifies a background image. The image is tiled in the background of the page. | Strict |
BGCOLOR=#rrggbb BGCOLOR=colourname | Specifies the pages background colour if no background image is given, or
the background image is not (yet) loaded. See colour specifications for a list of valid names. | Strict |
TEXT=#rrggbb TEXT=colourname | Specifies colour to render normal text in. See colour specifications for a list of valid names. | Strict |
LINK=#rrggbb LINK=colourname | Specifies colour to render unvisited hyperlinks in. See colour specifications for a list of valid names. | Strict |
VLINK=#rrggbb VLINK=colourname | Specifies colour to render already visited hyperlinks in. See colour specifications for a list of valid names. | Strict |
ALINK=#rrggbb ALINK=colourname | Specifies colour to render selected (highlighted) hyperlinks in. See colour specifications for a list of valid names. | Strict |
TOPMARGIN=nn LEFTMARGIN=nn | Specifies the top (and bottom) margin, or the left (and right) margin in pixels. This overrides the default margins. | Tolerant (MS) |
ONBLUR="script" ONFOCUS="script" ONLOAD="script" ONUNLOAD="script" | Standard JavaScript event handlers. | Strict |
Tag | Explanation | Mode |
---|---|---|
<BR> | Specifies a line break. | Strict |
Attribute | Explanation | Mode |
CLEAR=LEFT CLEAR=RIGHT CLEAR=ALL | Places the following text after left aligned, right aligned or all floating images. | Strict |
Tag | Explanation | Mode | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
<BUTTON> ... <BUTTON/> | Can only appear within a FORM element Defines a button with custom imagery in a form. The BUTTON element can contain text and images, and these will be rendered in the button. | Strict | ||||||||
Attribute | Explanation | Mode | ||||||||
TYPE=BUTTON TYPE=RESET TYPE=SUBMIT | Defines the type of button:
| Strict | ||||||||
NAME="name" | Gives this field a name. Fields without a name will not be included in the form data sent. | Strict | ||||||||
VALUE="value" | This specifies the value (data) to be included when the form is sent. | Strict | ||||||||
ONBLUR="script" ONCLICK="script" ONFOCUS="script" | Standard JavaScript event handlers. | Strict |
Tag | Explanation | Mode |
---|---|---|
<CAPTION> ... </CAPTION> | Can only appear within a TABLE element Specifies a caption for a table. | Strict |
Attribute | Explanation | Mode |
ALIGN=TOP ALIGN=BOTTOM | Specifies whether the caption should appear above the table (ALIGN=TOP) or below the table (ALIGN=BOTTOM). | Strict |
ALIGN=LEFT ALIGN=CENTER ALIGN=RIGHT | Specifies the alignment of the caption relative to the table width. | Tolerant (MS) |
VALIGN=TOP VALIGN=BOTTOM | Specifies whether the caption should appear above the table (VALIGN=TOP) or below the table (VALIGN=BOTTOM). | Tolerant (MS) |
Tag | Explanation | Mode |
---|---|---|
<CENTER> ... </CENTER> | Renders text and other elements centered within the window width. Is a shorthand notation for <DIV ALIGN=CENTER> | Strict |
Tag | Explanation | Mode |
---|---|---|
<CITE> ... </CITE> | Specifies a citation. Typically rendered in italics. | Strict |
Tag | Explanation | Mode |
---|---|---|
<CODE> ... </CODE> | Specifies a short code sample. Typically rendered in a fixed width font. | Strict |
Tag | Explanation | Mode | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
<COL> | Can only appear within a TABLE element Declares a column within a table. | Strict | ||||||||||
Attribute | Explanation | Mode | ||||||||||
SPAN=nn | The number of columns declared with this tag. Default is 1. | Strict | ||||||||||
WIDTH=nn WIDTH=nn* WIDTH=nn% | Specifies the width of this column, in pixels, in relative units or as a percentage. | Strict | ||||||||||
ALIGN=LEFT ALIGN=CENTER ALIGN=RIGHT | Renders the text and other elements within this column left aligned, centered
within the cell width, or right aligned with the cell border.
This attribute overrides the ALIGN attribute of the COLGROUP, THEAD, TBODY, TFOOT and TR elements. | Strict | ||||||||||
VALIGN=TOP VALIGN=MIDDLE VALIGN=BOTTOM VALIGN=BASELINE | Specifies the vertical alignment of the cell contents in this column:
| Strict |
Tag | Explanation | Mode | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
<COL> | Can only appear within a TABLE element Declares a column group within a table. The COLGROUP element may contain one or more COL elements to declare the individual columns in this group. | Strict | ||||||||||
Attribute | Explanation | Mode | ||||||||||
SPAN=nn | The number of columns within this group. Default is 1. This can be overridden by declaring one or more COL elements. | Strict | ||||||||||
WIDTH=nn WIDTH=nn* WIDTH=nn% | Specifies the width of each column in this group, in pixels, in relative units or as a percentage. | Strict | ||||||||||
ALIGN=LEFT ALIGN=CENTER ALIGN=RIGHT | Renders the text and other elements within this column group left aligned, centered
within the cell width, or right aligned with the cell border.
This attribute overrides the ALIGN attribute of the THEAD, TBODY, TFOOT and TR elements. | Strict | ||||||||||
VALIGN=TOP VALIGN=MIDDLE VALIGN=BOTTOM VALIGN=BASELINE | Specifies the vertical alignment of the cell contents in this column group:
| Strict |
Tag | Explanation | Mode |
---|---|---|
<DD> | Can only appear within a DL element Specifies a description in a definition list. The description is rendered indented. | Strict |
Tag | Explanation | Mode |
---|---|---|
<DFN> ... </DFN> | Specifies a definition. Typically rendered in italics. | Strict |
Tag | Explanation | Mode |
---|---|---|
<DIR> ... </DIR> | Specifies a directory list. AWeb renders a DIR list exactly the same as a UL list. | Strict |
Tag | Explanation | Mode |
---|---|---|
<DIV> ... </DIV> | Specifies a division of the document for aligning purposes. | Strict |
Attribute | Explanation | Mode |
ALIGN=LEFT ALIGN=CENTER ALIGN=RIGHT | Renders the text and other elements within the division left aligned, centered within the window width, or right aligned with the window border. | Strict |
Tag | Explanation | Mode |
---|---|---|
<DL> ... </DL> | Specifies a definition list. Each entry in the list contains one or more DT elements to specify the term, and one DD element that contains the desciption of that term | Strict |
Tag | Explanation | Mode |
---|---|---|
<DT> | Can only appear within a DL element Specifies a term in a definition list. The term is rendered non-indented as opposed to the definition of the term. | Strict |